package com.onlyphoto.onlymall.mvp.contract

import com.onlyphoto.onlymall.base.IBasePresenter
import com.onlyphoto.onlymall.base.IBaseView
import com.onlyphoto.onlymall.bean.response.CouponBean


interface CCoupon {

    interface IPCoupon : IBasePresenter {
        fun getStoreCoupons(get_type: Int)
        fun getUserCoupons(get_type: Int, status: Int)
        fun receiveCoupon(couponId: Int, end_tm: Long)
    }

    interface IVCoupon : IBaseView {
        fun getCouponsSuccess(list: ArrayList<CouponBean>)
        fun showEmpty()
        fun receiveCouponSuccess()
        fun showToast(msg: String)
    }
}